package EMM;

import java.io.IOException;
import java.net.SocketAddress;
import java.net.UnknownHostException;

public interface ConnectionService {
	public boolean connect(String host, int port) throws UnknownHostException, IOException ;
	
	public int send( String msg , int wrCount );
	
	public int sendMsg( String msg );
	
	public String read() throws IOException;
	
	public int getStatus();
	

}
